var $$scope;
function uploadFileElse($scope, $route, CertusFormAjax, CertusJsonAjax, $location, $http, $cookies, $routeParams) {
    $$scope = $scope;
    var fileInstantiation = {
        fileSuperClass: "NB",
        classCateCode : "NBZN"
    }
    var fileInstantiationDisable = {
        classCateCodeDis: true, //文件类目不可修改
    }
    //调用初始化方法
    initFileUpload($scope, fileInstantiation, fileInstantiationDisable, CertusFormAjax);

    $scope.outerUploadFileElse = function () {
        fileUpload($scope, function (res) {
            CertusFormAjax.ajax("outerProjFileSave", {"fileId": res.data}, function (res) {
                if (res.data) {
                    if (res.data == "success") {
                        window.history.back();
                    }
                }
            });
        }, null, CertusFormAjax);
    }
}
